package text;

public class demo1 {
    void func()
    {
        int a = 10;
        int b = 20;
        int[] array = new int[]{1,2,3};

    }
    public static void main(String[] args) {

        int[][] array1 = {{1,2,3,4},{5,6},{7},{8,9,10}};
        for(int i = 0;i<array1.length;i++)
        {
            for(int j = 0;j< array1[i].length;j++)
            {
                System.out.print(array1[i][j]+" ");
            }
        }
    }
}
